package cn.foodProject.gsonBean;

public class CommentDetailsGsonBean {

    /**
     * data : {"id":1,"foodid":1,"userid":1,"comment":"便宜又实惠，相当不错","postdate":"2020-03-20 11:19:24"}
     * success : true
     * message : 成功
     */

    private DataBean data;
    private boolean success;
    private String message;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class DataBean {
        /**
         * id : 1
         * foodid : 1
         * userid : 1
         * comment : 便宜又实惠，相当不错
         * postdate : 2020-03-20 11:19:24
         */

        private int id;
        private int foodid;
        private int userid;
        private String comment;
        private String postdate;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getFoodid() {
            return foodid;
        }

        public void setFoodid(int foodid) {
            this.foodid = foodid;
        }

        public int getUserid() {
            return userid;
        }

        public void setUserid(int userid) {
            this.userid = userid;
        }

        public String getComment() {
            return comment;
        }

        public void setComment(String comment) {
            this.comment = comment;
        }

        public String getPostdate() {
            return postdate;
        }

        public void setPostdate(String postdate) {
            this.postdate = postdate;
        }
    }
}
